package com.etc.service;

import com.etc.entity.CommentResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient(value = "cloud-nacos-delete")
public interface DeleteService {
    //楼栋删除
    @RequestMapping("building/delBatch")
    public CommentResult delBuildingBatch(@RequestBody String ids);

    //房间删除
    @RequestMapping("room/delBatch")
    public CommentResult delRoomBatch(@RequestBody String ids);

    //设备维修信息删除
    @RequestMapping("device/delBatch")
    public CommentResult delDeviceBatch(@RequestBody String ids);

    //小区信息删除
    @RequestMapping("park/delBatch")
    public CommentResult delParkBatch(@RequestBody String ids);

    //业主信息删除
    @RequestMapping("owner/delBatch")
    public CommentResult delOwnerBatch(@RequestBody String ids);

    //社区公告删除
    @RequestMapping("infobar/delBatch")
    public CommentResult delInfobarBatch(@RequestBody String ids);

    //住户信息删除
    @RequestMapping("household/delBatch")
    public CommentResult delHouseholdBatch(@RequestBody String ids);

    //缴费信息删除
    @RequestMapping("payment/delBatch")
    public CommentResult delPaymentBatch(@RequestBody String ids);
}

